package com.zzqstart.demo;

import cn.hutool.core.util.ArrayUtil;
import org.yaml.snakeyaml.util.ArrayUtils;

import java.util.Arrays;

/**
 * ClassName: testArray
 * Package: com.zzqstart.demo
 * Description:
 *
 * @Author zzqstart
 * @Create 2023-03-08 13:26
 * @Version 1.0
 */
public class testArray {
    public static void main(String[] args) {
        String[] array = {"1","2","3","4","5"};

        String str = ArrayUtil.join(array,",");
        String[] split = str.split(",");
        for (String a : split) {
            System.out.println(a);
        }
    }
}
